﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Yqd.Models
{
    public class Yqd_Quota
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }

        public long TaskID { get; set; }

        public long QuotaID { get; set; }

         public int QuotaType { get; set; }

        [StringLength(50)]
        public string QuotaCode { get; set; }

        [StringLength(150)]
        public string QuotaName { get; set; }

         [StringLength(150)]
        public string TargetValue { get; set; }

        [StringLength(150)]
        public string CurrentValue { get; set; }

        [StringLength(150)]
        public string StartValue { get; set; }

        public int ValueType { get; set; }

        [StringLength(150)]
        public string ValueUnit { get; set; }

        [StringLength(500)]
        public string QuotaDesc { get; set; }

        [StringLength(500)]
        public string Calucation { get; set; }

        public long ds { get; set; }

        public DateTime CreateTime { set; get; }

        public int Tactic { get; set; }

        public bool IsShow { get; set; }

        public long Creator { get; set; }

        public DateTime InsTime { get; set; }

    }
}
